/********************************************************************************
*																				*
*  Las Venturas Playground - callbacks/onPlayerConnect.nut						*
*																				*
*  The onPlayerConnect callback is located here.								*
*																				*
********************************************************************************/

function onPlayerConnect ( playerid )
{
	sendMessageToAll("[33993300]" + getPlayerName(playerid) + " has joined the server!", 0xFFFFFFFF, true);
	sendPlayerMessage(playerid, "[FF9900FF]Welcome, " + getPlayerName(playerid) + "! Use /help to get started.", 0xFFFFFFFF, true);
	setPlayerSpawnLocation(playerid, 58.488483, 1115.379395, 3.166998, 325.00);
	setCameraBehindPlayer ( playerid );
    return 1;
}

addEvent("playerConnect", onPlayerConnect);